package com.java.provider.service;

import com.java.provider.api.EchoService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Value;

/**
 * @author jiangli
 * @date 2019/11/8 23:17
 */
@Service(version = "1.0.0")
public class EchoServiceImpl implements EchoService {
	@Value("${dubbo.protocol.port}")
	private String port;

	@Override
	public String echo(String string) {
		return "hello dubbo " + port;
	}
}
